 <template>
     <el-table
      :data="tableData"
      style="width: 100%">
    
      <el-table-column
        prop="name"
        label="姓名"
        width="180">
      </el-table-column>
      <el-table-column
        prop="danger"
        label="风险类">
      </el-table-column>
        <el-table-column
        prop="institution"
        label="机构类型"
        width="180">
      </el-table-column>
      <el-table-column
        prop="loans"
        label="贷款"
        width="180">
      </el-table-column>
      <el-table-column
        prop="money"
        label="金额"
        width="180">
      </el-table-column>
      <el-table-column
        prop="date"
        label="日期"
        width="180">
      </el-table-column>
      <el-table-column
        prop="details"
        label="详情"
        width="180"
        >
        <button>查看</button>
      </el-table-column>
    </el-table> 
   
  </template>
  <script>
    export default {
      data() {
        return {
          tableData: [
          {
            name: '王小虎',
            danger: '申请贷款',
            institution:'小贷公司',
            loans:'信用贷',
            money:'20000',
             date: '2016-05-02',
             details:'查看'
          },
           {
            name: '王小虎',
            danger: '申请贷款',
            institution:'小贷公司',
            loans:'信用贷',
            money:'20000',
             date: '2016-05-02',
             details:'查看'
          },
           {
            name: '王小虎',
            danger: '申请贷款',
            institution:'小贷公司',
            loans:'信用贷',
            money:'20000',
             date: '2016-05-02',
             details:'查看'
          },
           {
            name: '王小虎',
            danger: '申请贷款',
            institution:'小贷公司',
            loans:'信用贷',
            money:'20000',
             date: '2016-05-02',
             details:'查看'
          },
           {
            name: '王小虎',
            danger: '申请贷款',
            institution:'小贷公司',
            loans:'信用贷',
            money:'20000',
             date: '2016-05-02',
             details:'查看'
          },
          ]
        }
      }
    }
  </script>